home *** CD-ROM | disk | FTP | other *** search
- ********************************************************************************
- *-- Name....: CUSTOMER.FMT
- *-- Date....: 11-17-88
- *-- Version.: dBASE IV, Format 1.0
- *-- Notes...: Format files use "" as delimiters!
- ********************************************************************************
-
- *-- Format file initialization code --------------------------------------------
-
- IF SET("TALK")="ON"
- SET TALK OFF
- lc_talk="ON"
- ELSE
- lc_talk="OFF"
- ENDIF
-
- *-- This form was created in COLOR mode
- SET DISPLAY TO COLOR
-
- lc_status=SET("STATUS")
- *-- SET STATUS was ON when you went into the Forms Designer.
- IF lc_status = "OFF"
- SET STATUS ON
- ENDIF
-
- *-- Window for memo field remarks.
- DEFINE WINDOW Wndow1 FROM 1,15 TO 19,64
-
- *-- @ SAY GETS Processing. -----------------------------------------------------
-
- *-- Format Page: 1
-
- @ 2,27 SAY "CUSTOMER INFORMATION FORM"
- @ 4,6 TO 16,72
- @ 6,11 SAY "Code"
- @ 6,21 GET custcode PICTURE "@! XXXXXXXXXX"
- @ 7,11 SAY "Name"
- @ 7,21 GET custname PICTURE "XXXXXXXXXXXXXXXXXXXXXXXXX"
- @ 8,11 SAY "Address"
- @ 8,21 GET address PICTURE "XXXXXXXXXXXXXXXXXXXXXXXXX"
- @ 9,11 SAY "City"
- @ 9,21 GET city PICTURE "XXXXXXXXXXXXXXXXXXXXXXXXX"
- @ 9,48 SAY "STATE"
- @ 9,54 GET state PICTURE "@! XX"
- @ 9,58 SAY "ZIP"
- @ 9,63 GET zip PICTURE "XXXXX"
- @ 10,11 SAY "Phone"
- @ 10,21 GET phone PICTURE "(999) 999-9999"
- @ 12,14 SAY "Contact"
- @ 12,24 GET contact PICTURE "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
- @ 14,14 SAY "Remarks"
- @ 14,24 GET remarks WINDOW Wndow1
-
- *-- Format file exit code -----------------------------------------------------
-
- *-- SET STATUS was ON when you went into the Forms Designer.
- IF lc_status = "OFF" && Entered form with status off
- SET STATUS OFF && Turn STATUS "OFF" on the way out
- ENDIF
-
- RELEASE WINDOWS Wndow1
-
- IF lc_talk="ON"
- SET TALK ON
- ENDIF
-
- RELEASE lc_talk,lc_fields,lc_status
- *-- EOP: CUSTOMER.FMT
-